package com.hzdh.account.repository.login;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.hzdh.account.entity.login.User;

@Mapper
public interface UserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(User record);

    int insertSelective(User record);

    /**
	 * 根据用户ID查询用户信息
	 * @param userId
	 * @return
	 */
    User selectUserByUserId(String userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

	User queryUserByConsition(User user);
	
	/**
	 * 查询全部用户信息
	 * @param paramMap
	 * @return
	 */
	List<User> selectUser(Map<String, String> paramMap);

}